package com.jvxb.common.base.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author jvxb
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class WorkTask {
    //作业id
    Integer workId;
    //执行机器
    String host;
    //执行命令
    String cmd;

    public WorkTask(String host, String cmd) {
        this.host = host;
        this.cmd = cmd;
    }
}
